package com.beamfield.dao.sys;

import com.beamfield.model.Manufactor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManufactorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Manufactor record);

    int insertSelective(Manufactor record);

    Manufactor selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Manufactor record);

    int updateByPrimaryKey(Manufactor record);

    List<Manufactor> selectPage(@Param("name") String name, @Param("beamId") Long beamId, @Param("offset") String offset, @Param("limit") String limit);

    Long countPage(@Param("name") String name, @Param("beamId") Long beamId);

    List<Manufactor> selectAll(Long beamId);

    Long selectByManufactor(@Param("manufactor") String manufactor, @Param("beamId") Long beamId);
}
